c276a36555be86938b42477eb01ce2b1116616d6,advanced/src/webtest/java/org/neo4j/server/webadmin/webtest/ElementReference.java,ElementReference,waitUntilVisible,#,158
Before Change
public void waitUntilVisible() {
long end = System.currentTimeMillis() + 10000;
while (System.currentTimeMillis() < end) {
if (this.getValueOfCssProperty("display") != "none") {
return;
}
}
After Change
public void waitUntilVisible() {
long end = System.currentTimeMillis() + 10000;
while (System.currentTimeMillis() < end) {
if ( ! this.getValueOfCssProperty("display").equals("none")) {
return;
}
try{
Thread.sleep(13);
} catch(Exception e) {
throw new RuntimeException(e);
}
}